/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service;

import java.util.List;

import com.sasis.service.Manager;
import com.sasis.model.PassengerInfo;

public interface PassengerInfoManager extends Manager {
    /**
     * Retrieves all of the passengerInfos
     */
    public List getPassengerInfos(PassengerInfo passengerInfo);

    /**
     * Gets passengerInfo's information based on id.
     * @param id the passengerInfo's id
     * @return passengerInfo populated passengerInfo object
     */
    public PassengerInfo getPassengerInfo(final String id);

    /**
     * Saves a passengerInfo's information
     * @param passengerInfo the object to be saved
     */
    public void savePassengerInfo(PassengerInfo passengerInfo);

    /**
     * Removes a passengerInfo from the database by id
     * @param id the passengerInfo's id
     */
    public void removePassengerInfo(PassengerInfo passengerInfo);
}

